package com.rightsidetech.system.dtos.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author yhr
 * @version 1.0
 * @Title:
 * @Package
 * @Description: 描述
 * @date 2021/10/20
 */
@Data
public class SysRoleUpdateReq extends SysRoleAddReq implements Serializable {
    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "id不能为空")
    @Min(value = 0, message = "id不正确")
    private Long id;
}
